﻿var newUser = function() { openWindowUser(); }
var editUser = function(grid, rowIndex, columnIndex, e) { var t = e.getTarget(); var record = grid.getStore().getAt(rowIndex); var columnId = grid.getColumnModel().getColumnId(columnIndex); if (columnId == 'userCD') { return true; } else { return false; } }
var deleteUser = function(grid, rowIndex, columnIndex, e) { var t = e.getTarget(); var record = grid.getStore().getAt(rowIndex); var columnId = grid.getColumnModel().getColumnId(columnIndex); var columnValue = grid.getColumnModel().getDataIndex(2); var id = record.get(columnValue); document.getElementById("GMUser_txt_idUser").value = id; if (columnId == 'userCD') { return true; } else { return false; } }

var newGuests = function() { openWindowGuests(); }

var newEvent = function() { openWindowEvent(); }

var newListsGuests = function() { openWindowListsGuests(); }

var newGuestInvite = function() { openWindowGuestInvite(); }

var newListGuests = function() { openWindowListGuests(); }

